package com.roseski.service;

/**
 * <pre>
 * 序列号生成业务接口
 * </pre>
 * @author cjg
 * @version 1.0, 2017-7-20
 */
public interface SequenceService
{
	
	public Long generateSequenceNum(String sequenceName);

	/**
	 * <pre>
	 * 获取序列号
	 * </pre>
	 * @param name
	 * @return
	 */
	public Long generateSequenceNum(String sequenceName, long sequenceCount, Long modMaxNum);
}
